<?php

/**
 * Created by PhpStorm.
 * User: lovel
 * Date: 2017/10/24
 * Time: 0:54
 */
class GetInfo_control extends MY_Controller
{
    function index()
    {
        $body = $this->input->raw_input_stream;
        $this->load->model('public/GetInfo_model', 'getinfo');
        //这里处理小程序过来的请求
//        $body = (json_decode($body));
        echo $this->getinfo->get_info($body);
        return;
    }
}